package com.ktwlsoft.archivemanage.payload.guiBusiness;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 依据业务管理请求
 *
 * @author Name on 2020/4/30 15:36
 * @version 1.0
 */
@ApiModel("依据业务管理请求")
@Data
public class BasisBusinessManageRequest {

    /**主键**/
    @ApiModelProperty("主键")
    private Long id;

    /**业务id**/
    @ApiModelProperty("业务id")
    private Long businessId;

    /**依据id**/
    @ApiModelProperty("依据id")
    private Long basisId;

    /**依据名称**/
    @ApiModelProperty("依据名称")
    @Size(max = 50, message = "依据名称参数超长")
    private String basisName;

    /**描述**/
    @ApiModelProperty("描述")
    private String content;

    /**依据类型:自查:self,复查:default**/
    @ApiModelProperty("依据类型:自查:self,复查:default")
    @Size(max = 100, message = "依据类型:自查:self,复查:default")
    private String basisType;

    /**创建人**/
    @ApiModelProperty("创建人")
    @Size(max = 30, message = "创建人参数超长")
    private String createName;

    /**创建人id**/
    @ApiModelProperty("创建人id")
    private Long createId;

    /**创建时间**/
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**类型:1.新增,2.删除**/
    @ApiModelProperty("类型:1.新增,2.删除")
    private transient Integer type;
}